//
//  UIApplication+Extension.swift
//  VISUAL
//
//  Created by 刘森 on 2019/12/16.
//  Copyright © 2019 admin. All rights reserved.
//

import UIKit

public extension UIApplication {

    func clearLaunchScreenCache() {
        do {
            try FileManager.default.removeItem(atPath: NSHomeDirectory()+"/Library/SplashBoard")
        } catch {
            print("Failed to delete launch screen cache: \(error)")
        }
    }

}
